# -*- coding: utf-8 -*-
# @Time        :2025/4/7 17:28
# @Author      :文刀水寿
# @File        : __init__.py.py
"""
 @Description : 初始化文件 创建flask应用
"""
from flask import Flask
from .views import blue


def create_app():
    app = Flask(__name__)
    # 注册蓝图
    app.register_blueprint(blueprint=blue)
    return app
